package com.zhdl.modules.demo.entity;

import com.project.common.bean.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 测试类
 *
 * @Author: zhangyy
 * @Email: zhang10092009@hotmail.com
 * @Date: 2023/4/3 11:27:36
 * @Version: v1.0
 * @Modified:
 * @Description:
 */
@EqualsAndHashCode(callSuper = true)
//@EqualsAndHashCode(callSuper = false)
@Data
@Entity
@Table(name = "t_demo")
public class TestDemo extends BaseEntity<TestDemo, String> {

    /**
     * 郑州市区
     *
     * @mock 地址数据
     * @version 1.0.0
     */
    public String address;
    @Id
    protected String id;
    /**
     * name
     */
    protected String name;


}
